package bookstudytest.proxy.intercepter;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * @author: Lee
 * @Date: 2019/3/8 0008 14:42
 * @Description:
 */
public interface IntercepterByJdk {

    boolean before(Object o, Object target, Method method, Object[] args);

    Object around(Object o, Object target, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException;

    void after(Object o, Object target, Method method, Object[] args);

}
